/*
 * @Author: nainaiyi s15037075861@163.com
 * @Date: 2022-09-05 11:09:53
 * @LastEditors: nainaiyi s15037075861@163.com
 * @LastEditTime: 2022-09-05 11:11:36
 * @FilePath: \购物车\shopapp\src\mock\index.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
const Mock = require('mockjs')

const data = Mock.mock({
    "homeList|20": [
        {
            id: "@id()",
            url: "@image(120x150, @color())",
            price: "@integer(10,200)",
            title: "@ctitle(2,4)",
            desc: "@ctitle(10,20)",
            "state|1": ["全部", "饮食", "男装", "女装", "内衣配饰", "母婴", "鞋靴", "运动", "箱包"]
        }
    ]
})

module.exports = data